home *** CD-ROM | disk | FTP | other *** search
- global gNBSN
- put tStr("LibMsg",47) into NotebookName
- if there is not a window NotebookName
- then
- lock screen
- lock messages
- set lockrecent to true
- push card
- if there is a file GetStackPath()&gNBSN
- then
- go stack GetStackPath()&gNBSN
- if not checked(NotebookName) then get Fit(NotebookName)
- send opennotebook to this card
- end if
- if there is a window NoteBookName then isEBW NoteBookName
- pop card
- unlock screen
- unlock messages
- else
- if checked(NotebookName) then get Fit(NotebookName)
- close window NotebookName
- end if